cc.Class({
    extends: cc.Component,

    properties: {
        addScore_audio:{
            type:cc.AudioClip,
            default:null
        }
    },

    onLoad () {
        this.time = 0;
        this.tt = 0;
        cc.audioEngine.play(this.addScore_audio,false,0.3);
    },

    update (dt) {
        this.time+=dt;
        this.tt +=dt;
        if(this.time > 3){
            this.node.destroy();
        }
        if(this.tt > 0.1){
            this.node.y ++;
        }
    },
});
